<!DOCTYPE html>
<html>
<head>
	<include file="Index/header" />
	<title>{$channel.name} - FCMS</title>

</head>
<body>
	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column">
				{:W('Menu/nav')}
				<div class="row clearfix main">
					<div class="col-md-8 column">
						<ul class="breadcrumb">
							<li>
								 <a href="{:U('Home/Index/index')}">首页</a>
							</li>
							<li>
								 {$channel.name}
							</li>
						</ul>
						<foreach  name="list" item="vo">
							<h2>
								<a href="{:U('Home/Index/detail','a_id='.$vo['id'])}">
									<!-- {$vo.title|mb_strlen='utf8'} -->
									<if condition="(mb_strlen($vo['title'],'utf8') gt 17)">{$vo.title|msubstr=0,17,'UTF-8',true}
									<else/>{$vo.title}
									</if>
								</a>
								<small>{$vo.create_time}</small>
							</h2>

							<div class="content">
								{$vo.content|htmlspecialchars_decode}
							</div>
							<p>
								<a class="btn" href="{:U('Home/Index/detail','a_id='.$vo['id'])}">详细阅读 »</a>
							</p>
							<hr>
							
						</foreach>
						<!--分页-->
						<div style="text-align: center;">{$page}</div>
					</div>
					<div class="col-md-4 column">

						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">联系方式</h3>
							</div>
							<div class="panel-body">
								QQ&nbsp;&nbsp;&nbsp;：114361190 <br>
								Email：fini.yang@gmail.com <br>
								Tel&nbsp;&nbsp;&nbsp;&nbsp;：400-800-12345 <br>
							</div>

						</div>

						<div class="list-group">
							<div class="list-group-item active">热门文章</div>
							<foreach  name="hot" item="vo">

								<div class="list-group-item">
									<a href="{:U('Home/Index/detail','a_id='.$vo['id'])}">
										<!-- {$vo.title|mb_strlen='utf8'} -->
										<if condition="(mb_strlen($vo['title'],'utf8') gt 20)">{$vo.title|msubstr=0,20,'UTF-8',true}
										<else/>{$vo.title}
										</if>
									</a>
								</div>
							</foreach>
						</div>
						<img  width="100%" src="__PUBLIC__/assets/images/home/1009227.jpg" class="img-rounded" />
					</div>
				</div>
			</div>
		</div>
	</div>
	<include file="Index/footer" />
</body>
</html>